package fanxing;

import java.util.ArrayList;

public class Try {
    public void main(String[] args) {
       double rs = test(2);
        System.out.println(rs);
        Dog d =test(new Dog());
        System.out.println(d);
        ArrayList<BWS> list=new ArrayList<BWS>();
        list.add(new BWS());
        list.add(new BWS());
        list.add(new BWS());
        go(list);

    }
    public static <T> T test(T t){
        return  t;
    }
    public static void go (ArrayList<? > cars){

    }
    class  Car{

    }
    class  BWS{

    }
    class  AWM{}
}
